package tt.dz.service.imp.sys;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import tt.dz.dao.ext.charger.OmsChargerChargeDirectRecordDao;
import tt.dz.entity.charger.OmsChargerChargeDirectRecord;
import tt.dz.service.sys.ChargerChargeDirectRecordService;
@Service @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class ChargerChargeDirectRecordServiceImpl  implements ChargerChargeDirectRecordService{
	@Resource
	OmsChargerChargeDirectRecordDao omsChargerChargeDirectRecordDao;

	@Override
	public OmsChargerChargeDirectRecord findOneExample(OmsChargerChargeDirectRecord obj, String order, String sortVal) {
		return omsChargerChargeDirectRecordDao.findOneExample(obj, order, sortVal);
	}

	@Override
	public int updateObject(OmsChargerChargeDirectRecord obj) {
		return omsChargerChargeDirectRecordDao.updateObject(obj);
	}

	@Override
	public int save(OmsChargerChargeDirectRecord obj) {
		return omsChargerChargeDirectRecordDao.save(obj);
	}

 

}
